home *** CD-ROM | disk | FTP | other *** search
/ Risc World 5 / Risc World 5.iso / SOFTWARE / Issue3 / Games / xrick / !xrick / include / h / img < prev    next >
Text File  |  2004-06-25  |  719b  |  35 lines

  1. /*
  2.  * xrick/include/img.h
  3.  *
  4.  * Copyright (C) 1998-2002 BigOrno (bigorno@bigorno.net). All rights reserved.
  5.  *
  6.  * The use and distribution terms for this software are contained in the file
  7.  * named README, which can be found in the root of this distribution. By
  8.  * using this software in any fashion, you are agreeing to be bound by the
  9.  * terms of this license.
  10.  *
  11.  * You must not remove this notice, or any other, from this software.
  12.  */
  13.  
  14. #ifndef _IMG_H
  15. #define _IMG_H
  16.  
  17. #include "system.h"
  18.  
  19. typedef struct {
  20.   U8 r, g, b, nothing;
  21. } img_color_t;
  22.  
  23. typedef struct {
  24.   U16 w, h;
  25.   U16 ncolors;
  26.   img_color_t *colors;
  27.   U8 *pixels;
  28. } img_t;
  29.  
  30. extern img_t *IMG_SPLASH;
  31.  
  32. #endif
  33.  
  34. /* eof */
  35.